<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>我的博客</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="<?php echo site_url();?>css/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo site_url();?>css/pagination.css" />
</head>
<body>
	<div id="header">
		<span class="logo">blog about web design</span>																																																											<div style="position:absolute;top:1px;left:1px;height:0px;width:0px;overflow:hidden"><h1><a href="http://www..com">best free templates</a></h1></div>
		<ul id="menu">
			<li><a href="<?php echo site_url();?>index/"><img src="<?php echo site_url();?>images/but1.gif" alt="" width="64" height="42" /></a></li>
			<li><a href="index2.html"><img src="<?php echo site_url();?>images/but2.gif" alt="" width="108" height="42" /></a></li>
			<li><a href="index2.html"><img src="<?php echo site_url();?>images/but3.gif" alt="" width="93" height="42" /></a></li>
			<li><a href="index2.html"><img src="<?php echo site_url();?>images/but4.gif" alt="" width="101" height="42" /></a></li>
			<li><a href="index2.html"><img src="<?php echo site_url();?>images/but5.gif" alt="" width="86" height="42" /></a></li>
			<li><a href="index2.html"><img src="<?php echo site_url();?>images/but6.gif" alt="" width="102" height="42" /></a></li>
		</ul>
		<img src="<?php echo site_url();?>images/spacer.gif" alt="setalpm" width="120" height="120" border="0" usemap="#Map" class="rss" />
        <map name="Map">
          <area shape="circle" coords="60,60,63" href="#">
      </map>
	</div>
	<div id="content">
		<div id="posts">
		<?php foreach ($query as $v):?>
			<div class="post">
				<h2><a href="<?php echo site_url();?>content/index/<?php echo $v['id'];?>"><?php echo $v['title'];?></a></h2>
				<div><span class="date"><?php echo date("M jS H:i",$v['ctime']);?></span><span class="categories">关键字: <?php echo $v['keywords'];?></span></div>
				<div class="description">
					<?php echo $v['contents'];?>
				</div>
				<p class="comments">评论 - <a href="#">17</a>   <span>|</span>   <a href="index2.html">阅读全文</a></p>
			</div>
		<?php endforeach;?>
		<div id="page">
		<?php echo $this->pagination->create_links(); ?>
		 </div>
		</div>
		<div id="sidebar">
		    <div id="search">
				<input type="text" value="Search"> <a href="#"><img src="<?php echo site_url();?>images/go.gif" alt="" width="26" height="26" /></a>
			</div>
			<div class="list">
				<img src="<?php echo site_url();?>images/title1.gif" alt="" width="186" height="36" />
				<ul>
					<li><a href="#">animation</a></li>
					<li><a href="#">magazines</a></li>
					<li><a href="#">architecture</a></li>
					<li><a href="#">news</a></li>
					<li><a href="#">art</a></li>
					<li><a href="#">photography</a></li>
					<li><a href="#">blogs</a></li>
					<li><a href="#">product design</a></li>
					<li><a href="#">books</a></li>
					<li><a href="#">stuff</a></li>
					<li><a href="#">graphic design</a></li>
					<li><a href="#">web design</a></li>
					<li><a href="#">illustration</a></li>
				</ul>
				<img src="<?php echo site_url();?>images/title2.gif" alt="" width="180" height="34" />
				<ul>
					<li><a href="#">January</a></li>
					<li><a href="#">July</a></li>
					<li><a href="#">February</a></li>
					<li><a href="#">August</a></li>
					<li><a href="#">March</a></li>
					<li><a href="#">September</a></li>
					<li><a href="#">April</a></li>
					<li><a href="#">October</a></li>
					<li><a href="#">May</a></li>
					<li><a href="#">November</a></li>
					<li><a href="#">June</a></li>
					<li><a href="#">December</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div id="footer">
		<p>Copyright &copy;. All rights reserved. Design from <a href="http://www..com" target="_blank" title="Free Templates">.com</a></p>
	</div>
</body>
</html>
